package com.young.nyd.service;

import com.young.common.util.Page;
import com.young.nyd.model.UviSuperviseenterprises;
import java.util.List;

/**
* 重点监管企业服务接口
* Created by  on 2018-10-13.
*/
public interface IUviSuperviseenterprisesService {

    /**
    * 查询
    * @param obj
    * @return
    * @throws Exception
    */
    List<UviSuperviseenterprises> getList(UviSuperviseenterprises obj) throws Exception;

    /**
     * 查询
     * @param obj
     * @return
     * @throws Exception
     */
    List<UviSuperviseenterprises> getListBycounty(String county) throws Exception;
    /**
    * 分页查询
    * @param obj
    * @param page
    * @return
    * @throws Exception
    */
    List<UviSuperviseenterprises> getPage(UviSuperviseenterprises obj, Page page) throws Exception;

    /**
    * 查询单条
    * @param id
    * @return
    * @throws Exception
    */
    UviSuperviseenterprises get(String id) throws Exception;

    /**
    * 统计数量
    * @param obj
    * @return Integer 满足xx条件的数据有多少条
    * @throws Exception
    */
    int count(UviSuperviseenterprises obj) throws Exception;

    /**
    * 修改
    * @param obj
    * @return
    * @throws Exception
    */
    int update(UviSuperviseenterprises obj) throws Exception;

    /**
    * 删除
    * @param id
    * @return
    * @throws Exception
    */
    int delete(String id) throws Exception;

    /**
    * 批量删除
    * @param idArr
    * @return
    * @throws Exception
    */
    int delete(String[] idArr) throws Exception;


    /**
    * 插入
    * @param obj
    * @return
    * @throws Exception
    */
    int insert(UviSuperviseenterprises obj) throws Exception;

    /**
    * 批量插入
    * @param list
    * @return
    * @throws Exception
    */
    int batchInsert(List<UviSuperviseenterprises> list) throws Exception;

}